package com.hpjpw.ido.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业对象 ido_enterprise
 * 
 * @author hpj
 * @date 2021-01-08
 */
@ApiModel("EnterpriseDomain")
public class Enterprise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业ID */
    @ApiModelProperty("企业ID")
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty("企业名称")
    private String name;

    /** 注册码 */
    @Excel(name = "注册码")
    @ApiModelProperty("注册码")
    private String code;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String phone;

    /** 地区 */
    @Excel(name = "地区")
    @ApiModelProperty("地区")
    private Long areaId;

    /** 联系地址 */
    @Excel(name = "联系地址")
    @ApiModelProperty("联系地址")
    private String address;

    /** 邮箱地址 */
    @Excel(name = "邮箱地址")
    @ApiModelProperty("邮箱地址")
    private String email;

    /** 企业图片 */
    @Excel(name = "企业图片")
    @ApiModelProperty("企业图片")
    private String imgUrl;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Long orderNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("phone", getPhone())
            .append("areaId", getAreaId())
            .append("address", getAddress())
            .append("email", getEmail())
            .append("imgUrl", getImgUrl())
            .append("orderNum", getOrderNum())
            .toString();
    }
}
